object frmClientStorage: TfrmClientStorage
  Left = 267
  Top = 247
  Width = 655
  Height = 416
  Caption = #23458#25143#24211#23384#26597#35810
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  FormStyle = fsMDIChild
  OldCreateOrder = False
  Position = poMainFormCenter
  ShowHint = True
  Visible = True
  OnClose = FormClose
  PixelsPerInch = 96
  TextHeight = 13
  object RzPanel1: TRzPanel
    Left = 0
    Top = 0
    Width = 639
    Height = 49
    Align = alTop
    BorderOuter = fsFlatRounded
    TabOrder = 0
    object RzLabel1: TRzLabel
      Left = 16
      Top = 16
      Width = 73
      Height = 13
      AutoSize = False
      Caption = #23458#25143#21517#31216
    end
    object RzEdit1: TRzEdit
      Left = 80
      Top = 13
      Width = 163
      Height = 21
      TabOrder = 0
    end
    object RzBitBtn1: TRzBitBtn
      Left = 250
      Top = 12
      Width = 39
      Hint = #36873#25321#23458#25143
      TabOrder = 1
      OnClick = RzBitBtn1Click
      ImageIndex = 64
      Images = dm.il1
    end
    object RzButton1: TRzButton
      Left = 296
      Top = 13
      Width = 65
      Caption = #26597#35810
      TabOrder = 2
      OnClick = RzButton1Click
    end
  end
  object DBGridEh1: TDBGridEh
    Left = 0
    Top = 49
    Width = 639
    Height = 310
    Align = alClient
    DataGrouping.GroupLevels = <>
    DataSource = dsClientStorage
    Flat = False
    FooterColor = clWindow
    FooterFont.Charset = DEFAULT_CHARSET
    FooterFont.Color = clWindowText
    FooterFont.Height = -11
    FooterFont.Name = 'MS Sans Serif'
    FooterFont.Style = []
    OddRowColor = clGradientInactiveCaption
    RowDetailPanel.Color = clBtnFace
    TabOrder = 1
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
    Columns = <
      item
        EditButtons = <>
        FieldName = 'ID'
        Footers = <>
        Visible = False
      end
      item
        EditButtons = <>
        FieldName = 'productname'
        Footers = <>
        Title.Caption = #27668#20307#21517#31216
      end
      item
        EditButtons = <>
        FieldName = 'ClientID'
        Footers = <>
        Visible = False
      end
      item
        EditButtons = <>
        FieldName = 'ProductID'
        Footers = <>
        Visible = False
      end
      item
        EditButtons = <>
        FieldName = 'Amount'
        Footers = <>
        Title.Caption = #38050#29942#25968#37327
      end>
    object RowDetailData: TRowDetailPanelControlEh
    end
  end
  object RzStatusBar1: TRzStatusBar
    Left = 0
    Top = 359
    Width = 639
    Height = 19
    BorderInner = fsNone
    BorderOuter = fsNone
    BorderSides = [sdLeft, sdTop, sdRight, sdBottom]
    BorderWidth = 0
    TabOrder = 2
  end
  object qryClientStorage: TADOQuery
    Active = True
    Connection = dm.conn
    CursorType = ctStatic
    Parameters = <
      item
        Name = 'clientid'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 510
        Value = Null
      end>
    SQL.Strings = (
      
        'select a.* ,p.productname from clientstorage a left join product' +
        ' p on a.productid=p.id where a.clientid=:clientid')
    Left = 272
    Top = 232
  end
  object dsClientStorage: TDataSource
    DataSet = qryClientStorage
    Left = 192
    Top = 208
  end
end
